c02112
@@ -472,7 +472,8 @@
public int compile(String command, boolean resetTaskIds) {
       if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
         String explainOutput = getExplainOutput(sem, plan, tree.dump());
         if (explainOutput != null) {
-          LOG.info("EXPLAIN output: " + explainOutput);
+          LOG.info("EXPLAIN output for queryid " + queryId + " : "
+              + explainOutput);
         }
       }
 
